package com.qingk.easyjava;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GreetingService {
	
	@Autowired
	private HelloWorldBean helloBean;
	
	public GreetingService() {
		
	}
	
	public String greeting() {
		return helloBean.sayHello();
	}
	
}
